package com.ss.sdg.methodcalling;

import java.util.ArrayList;
import java.util.List;

/**
 * every method see as a CallGraphNode
 * 
 * @author lijuan wang
 * 
 */
public class MethodCallNode {

	private String methodName;

	private List<String> paramTypes;
	private String identifier;
	private int id;
	
	private String belongClass;
	
	private String style;
	
	private String color;
	
	private boolean isVisited=false;
	public boolean getIsVisited() {
		return isVisited;
	}

	public void setIsVisited(boolean isVisited) {
		this.isVisited = isVisited;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public List<String> getParamTypes() {
		return paramTypes;
	}

	public void setParamTypes(List<String> paramTypes) {
		this.paramTypes = paramTypes;
	}

	public MethodCallNode() {
		super();
		this.paramTypes = new ArrayList<String>();
	}

	public String getBelongClass() {
		return belongClass;
	}

	public void setBelongClass(String belongClass) {
		this.belongClass = belongClass;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

}
